package com.ls.kdlss.ui.mys;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.LinearLayout;

import com.ls.kdlss.R;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;
import de.hdodenhof.circleimageview.CircleImageView;

/**
 * Created by Administrator on 2016/10/27.
 */

public class MysFragment extends Fragment implements View.OnClickListener {


    @Bind(R.id.iv_title)
    CircleImageView ivTitle;
    @Bind(R.id.imageView3)
    ImageView imageView3;
    @Bind(R.id.ll_personinfo)
    LinearLayout llPersoninfo;
    @Bind(R.id.ll_follow)
    LinearLayout llFollow;
    @Bind(R.id.imageView)
    ImageView imageView;
    @Bind(R.id.ll_collection)
    LinearLayout llCollection;
    @Bind(R.id.imageView2)
    ImageView imageView2;
    @Bind(R.id.ll_clearcache)
    LinearLayout llClearcache;
    @Bind(R.id.ll_aboutus)
    LinearLayout llAboutus;

    public static MysFragment getInstance() {
        return new MysFragment();
    }

    private View view;

    @Override
    public void onStart() {
        super.onStart();

    }

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        view = inflater.inflate(R.layout.activity_personal_center, null);
        setInfo();
        ButterKnife.bind(this, view);
        return view;
    }


    public void setInfo() {

    }

    @Override
    public void onDestroyView() {
        super.onDestroyView();
        ButterKnife.unbind(this);
    }

    @OnClick({R.id.iv_title, R.id.imageView3, R.id.ll_personinfo, R.id.ll_follow, R.id.imageView, R.id.ll_collection, R.id.imageView2, R.id.ll_clearcache})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.iv_title:
                MyInformationActivity.launch(getContext());
                break;
            case R.id.imageView3:
                break;
            case R.id.ll_personinfo:
                break;
            case R.id.ll_follow:
                break;
            case R.id.imageView:
                break;
            case R.id.ll_collection:
                break;
            case R.id.imageView2:
                break;
            case R.id.ll_clearcache:
                break;
        }
    }
}
